package cn.idietrade.idietradeusermodule8004.mapper;

import cn.idietrade.common.pojo.SecondAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zjy
 * @version 1.0
 * @createTime 2022-12-22 15:18
 * @description
 */

@Mapper
public interface SecondAddressMapper {
    //根据用户id查询用户地址列表
    List<SecondAddress> queryAddres(@Param("userId")Integer userId);

    //添加地址
    int addAddres(SecondAddress secondAddress);
}
